package com.bcxj.servicemap.service;

import com.bcxj.internalcommon.dto.ResponseResult;
import com.bcxj.internalcommon.response.TrackResponse;
import com.bcxj.servicemap.remote.TrackClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ClassName: TrackService
 * Package: com.bcxj.servicemap.service
 * Description:
 *
 * @Author BCXJ
 * @Create 2024/11/2 16:25
 * @Version 1.0
 * @Since 1.0
 */
@Service
public class TrackService {

    @Autowired
    private TrackClient trackClient;

    /**
     * 终端添加轨迹
     * @param tid
     * @return
     */
    public ResponseResult<TrackResponse> add(String tid) {
        return trackClient.add(tid);
    }

}
